larvel check two password

43

larvel check two password -

$hashedPassword = User::find(1)->password;

if (Hash::check('plain-text-password', $hashedPassword)) {
    // The passwords match...
}

Comments

Submit
0 Comments